GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcSearchFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text in which you want to search for find_text.

[Start_num] is the character number in within_text at which you want to start searching, the default value is 1.

locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcSearchFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text in which you want to search for find_text.

[Start_num] is the character number in within_text at which you want to start searching, the default value is 1.

Return Value

A System.String value that indicates the evaluate result.
See Also

Reference

CalcSearchFunction Class
CalcSearchFunction Members
Overload List